<?
	include_once("./_common.php");
	include_once("$g4[path]/lib/latest.lib.php");

	if ($member['mb_id']) {
		include_once("./_head.php");
		if(!$ns){
			include_once("./main.php");
		}
		if($ns){
			include_once("./".$ns.".php");
		}
		include_once("./_tail.php");
	}else{
		header("location:/bbs/login.php");
	}
?>
